requiring twitter_stream in threaded worker fixes ArgumentError

The threaded worker threw 'A copy of TwitterStream has been removed from
the module tree but is still active!' when running in development,
explicitly requiring 'twitter_stream' fixes that exception.

Dominik Sander 10 years ago
parent
commit
582db44791
1 changed files with 1 additions and 0 deletions
  1. 1 0
      bin/threaded.rb

+ 1 - 0
bin/threaded.rb

@@ -1,5 +1,6 @@
1 1
 require 'thread'
2 2
 require 'huginn_scheduler'
3
+require 'twitter_stream'
3 4
 
4 5
 STDOUT.sync = true
5 6
 STDERR.sync = true